package com.bluse.DesignModel.test;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class RuleEngineTestApplication<T> {


    private static final Logger logger = LoggerFactory.getLogger(RuleEngineTestApplication.class);


    public static void main(String[] args) {


        String creditUrl = "https://credit.cfdealer88.com/credit/";
        String gwghkUrl = "https://rc.gwghk.com/credit/";

        String  info ="info/stat/count";

        String replaceUrl = creditUrl.replaceAll("credit[^.]", "office/credit/").concat(info);
        String replaceGwghkUrl = gwghkUrl.replaceAll("credit[^.]", "office/credit/").concat(info);
        logger.info("Replace url is {}", replaceUrl);
        logger.info("replaceGwghkUrl url is {}", replaceGwghkUrl);



    }


}
